import "@/styles/index.scss";
//引入elementPlus图标
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
//引入elementPlus组件
import ElementPlus from 'element-plus'
//引入样式
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
//导入国际化
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import { createApp } from "vue";
import router from "./router";
import pinia from "./stores";
import App from "./App.vue";
import './pressmtions'
const app = createApp(App);
app.use(router);
app.use(pinia);
app.use(ElementPlus,{
    locale:zhCn
})



for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.mount("#app");
